package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收款账户管理对象 sys_account
 *
 * @author ruoyi
 * @date 2022-03-11
 */
public class SysAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private SysCompanyInfo companyInfo;
    public SysCompanyInfo getCompanyInfo() {
        return companyInfo;
    }
    /**  */
    private Long accountId;

    /** 账户平台 */
    @Excel(name = "账户平台")
    private String accountPlatform;

    /** 账户类型 */
    @Excel(name = "账户类型")
    private String accoutType;

    /** 账户名 */
    @Excel(name = "账户名")
    private String accountName;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private Long accountCid;

    /** 账号 */
    @Excel(name = "账号")
    private Long accountNumber;

    /** 开户行 */
    @Excel(name = "开户行")
    private String bankName;

    /** 对账时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "对账时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reconcileDate;

    /** 假删除判定值0：删除1：未删除 */
    private Long delFlag;

    public void setAccountId(Long accountId)
    {
        this.accountId = accountId;
    }

    public Long getAccountId()
    {
        return accountId;
    }
    public void setAccountPlatform(String accountPlatform)
    {
        this.accountPlatform = accountPlatform;
    }

    public String getAccountPlatform()
    {
        return accountPlatform;
    }
    public void setAccoutType(String accoutType)
    {
        this.accoutType = accoutType;
    }

    public String getAccoutType()
    {
        return accoutType;
    }
    public void setAccountName(String accountName)
    {
        this.accountName = accountName;
    }

    public String getAccountName()
    {
        return accountName;
    }
    public void setAccountCid(Long accountCid)
    {
        this.accountCid = accountCid;
    }

    public Long getAccountCid()
    {
        return accountCid;
    }
    public void setAccountNumber(Long accountNumber)
    {
        this.accountNumber = accountNumber;
    }

    public Long getAccountNumber()
    {
        return accountNumber;
    }
    public void setBankName(String bankName)
    {
        this.bankName = bankName;
    }

    public String getBankName()
    {
        return bankName;
    }
    public void setReconcileDate(Date reconcileDate)
    {
        this.reconcileDate = reconcileDate;
    }

    public Date getReconcileDate()
    {
        return reconcileDate;
    }
    public void setDelFlag(Long delFlag)
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("accountId", getAccountId())
                .append("accountPlatform", getAccountPlatform())
                .append("accoutType", getAccoutType())
                .append("accountName", getAccountName())
                .append("accountCid", getAccountCid())
                .append("accountNumber", getAccountNumber())
                .append("bankName", getBankName())
                .append("reconcileDate", getReconcileDate())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("companyInfo", getCompanyInfo())
                .toString();
    }
}
